<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">

<login></login>


</div>
<!--引入vue-->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
    Vue.component('login',{
        template:'<div><h1>我要登录</h1><div/>'
    });
    const app=new Vue({
        el:"#app",
        data:{},
        methods:{

        }

    });

</script>
</body>
</html>